package com.chinastock.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.reactive.config.EnableWebFlux;
import springfox.documentation.oas.annotations.EnableOpenApi;

/**
 * @author wangzhendong
 */
@EnableOpenApi
@SpringBootApplication
@EnableWebFlux
public class Application {

    public static void main(String[] args) {
        //        initilize system value
        System.setProperty("serviceName","NAN");
        System.setProperty("systemName","NAN");
        SpringApplication application = new SpringApplication(Application.class);
        application.run(args);
    }
}